package org.example.mytest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.example.mytest.entity.Myclass;

public interface MyclassMapper extends BaseMapper<Myclass> {
    @Select("select * from tb_class where class_id=#{classId}")
    Myclass findby(int id);
}
